Improve CSE in grant table code
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 22 Sep 2009 07:27:10 +0000 (08:27 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 22 Sep 2009 07:27:10 +0000 (08:27 +0100)
commit0ed9151a5fcd05a6d4cb9bec57c7204e9b2384a7
treed20a7ad97c8f3613303497537dafa8473eb31810
parent84d568f5c9ceb342be7c883074ac8c5423ab1492
Improve CSE in grant table code

The grant table code had some particularly frequent repetitions of
mfn_to_page() on each time the same input arguments. To help the
compiler (which can do only a limited job on CSE), this adds explicit
caching of the transformation result in a few places.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/common/grant_table.c